package com.longma.server.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class OperationLogDTO {

    @ApiModelProperty(value = "操作时间")
    @NotNull(message = "操作时间不能为空")
    private LocalDateTime operationTime;

    @ApiModelProperty(value = "操作类型")
    @NotNull(message = "操作类型不能为空")
    private String operationType;

    @ApiModelProperty(value = "操作人")
    @NotNull(message = "操作人不能为空")
    private String operationPerson;

    @ApiModelProperty(value = "备注")
    private String note;

}
